    <div id="field_<?=$name?>" class="field<?if(!empty($error)):?> error<?endif;?>">
        <p><label for="id_field_<?=$name?>"><?=$title?><?if($required):?> <span class="required">*</span><?endif?></label><?if (!empty($description)):?><br/><span class="description"><?=$description?></span><?endif?></p>
        <span class="error" id="error_for_<?=$name?>"><?=$error?></span>
        <div id="id_field_<?=$name?>">
        <?foreach($options as $key=>$row):?>
            <p><label for="id_field_<?=$name?>_<?=$key?>"><input <?=(in_array($key,$this->vars['value']) ? " checked ": "")?> type="checkbox" name="<?=$name?>[]" value="<?=$key?>" id="id_field_<?=$name?>_<?=$key?>" /> <?=$row?></label></p>
        <?endforeach;?>
        </div>


    </div>
